FROM uwsgi-pip:test

MAINTAINER zhen_fang <"fangeddie@163.com">

ARG PROJ_DIR=.
ARG DOCKER_FILE_DIR="."
#ARG UWSGI_FILE="uwsgi.ini"

ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
COPY ${PROJ_DIR} /code
ADD ${DOCKER_FILE_DIR}/sources.list /etc/apt

WORKDIR /code

CMD ["uwsgi", "--ini", "uwsgi.ini"]
